-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[公司職稱頁面] 讓搜尋框不受分頁影響 #1423
[公司職稱頁面] 讓搜尋框不受分頁影響 #1423
Conversation
Overview 也用到 salary_work_time_statistics 相關的資料,有考慮替換掉 Overview 來自 redux 的資料嗎? |
剛看 Overview 的資料和 TimeAndSalaryStatistics 的資料互斥,所以他們不會共用 |
@@ -30,7 +30,20 @@ const OvertimeSection = ({ statistics }) => { | |||
}; | |||
|
|||
OvertimeSection.propTypes = { | |||
statistics: PropTypes.object.isRequired, | |||
statistics: PropTypes.shape({ | |||
average_estimated_hourly_wage: PropTypes.number.isRequired, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[optional] 這個參數目前有用到嗎?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
沒用到,會移除
src/graphql/jobTitle.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[optional] 應該也有一些欄位是可以移除的 (ref: src/graphql/company.js
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR 大致上沒問題,有些多餘的 api 欄位,我覺得 optional
Close #1416
這個 PR 是?
原本公司職稱頁面的資料是用
StatusRenderer
處理,其中包含Searchbar
這個 PR 將
Searchbar
拉出StatusRenderer
以獨立於分頁資料另外在薪資頁面將統計資料獨立於薪時資料,使得統計資料不因搜尋影響
另外
Searchbar
也做簡單的化簡,並且修改 debounce time 成 1.5 秒Screenshots
Before
2024-08-28.8.21.20.mov
After
2024-08-28.1.01.26.mov
我應該如何手動測試?